import Vue from 'vue'
import VueRouter from 'vue-router'
// import MainContainer from '../components/MainContainer/index'
// import Details from '../components/Details/index'
// import Archives from '../components/archives/index'

Vue.use(VueRouter)

export default new VueRouter({
  //mode: 'history',
  base: __dirname,
  routes: [
    { path: '/', name: 'home', component: () => import('../components/MainContainer/index') },
    { path: '/details/:temp', name: 'details', component: () =>import('../components/Details/index') },
    { path: '/archives', name: 'archives', component: () => import('../components/archives/index')},
    { path: '/myProject', name: 'myProject', component: () => import('../components/myProject/index')},
  ]
})

